import request from "@/utils/request.js";

/**
 * 获取试卷预览信息
 * @returns {*}
 */
export function paperPreview() {
    return request({
        url: '/assessments/assessments/getPaperPreview',
        method: 'get',
    })
}


/**
 * 获取试卷和试题详细信息
 * @param paperId
 * @returns {*}
 */
export function getPaperDetails(paperId) {
    return request({
        url: '/assessments/assessments/getPaperDetails/' + paperId,
        method: 'get',
    })
}

